package jichen;

public class TestTeacher {
    public static void main(String[] args) {
        JavaTeaher java=new JavaTeaher("刘老师",30,"2022年3月1日","男");
        UIteaher ui=new UIteaher("王老师",28,"2022年3月5日","男");
        NetTeacher net=new NetTeacher("李老师",25,"2022年2月6日","女");
        java.selfIntroduce();
        java.print();
        java.giveLession();
        java.Java();
        java.print();
        ui.selfIntroduce();
        ui.print();
        net.selfIntroduce();
        net.print();
    }
}
